<%@ page contentType="text/html;charset=UTF-8" language="java" pageEncoding="utf-8" %>
<%@taglib prefix="accessory" uri="http://accessoryPackageTag.weitu.net" %>
<!doctype html>
<html lang="zh">
<head>
    <title>消防三同时</title>
    <%@include file="/common/header.jspf" %>
    <script type="text/javascript">
        var fireAcceptance = false;
        var fireDesign = false;
        <c:if test="${fireAcceptance==null}">
        fireAcceptance = true;
        </c:if>
        <c:if test="${fireDesign==null}">
        fireDesign = true;
        </c:if>
    </script>
    <script type="text/javascript" src="${ctx}/resources/js/threeSimultaneities/fire/info.js"></script>
    <style>
        .enclosure {
            width: 900px;
            float: left;
            margin-bottom: 10px;
            margin-top: 5px;
        }

        .form_one {
            width: 350px;
        }

        .lable-accessory {
            display: block;
            float: left;
            width: 75px;
            pxmargin-top: 10px;
            padding-left: 10px;
            text-align: right;
            margin-top: 10px;
        }

        .l-btn {
            background: #97f0ed;
        }
    </style>
</head>
<body>
<div class="information">
    <div class="information-title">
        <p>项目基本信息</p>
        <a href="#"><img src="${ctx}/resources/themes/images/alias_03.png" width="18"></a>
    </div>
    <div class="cuttle">
        <div style="clear: both">
            <div class="form_one">
                <label class="lable-style">项目名称:</label>
                <input id="projectName" name="projectName" type="text" class="easyui-textbox" style="width: 240px;"
                       data-options="readonly:true" value="${projectApproval.projectName}">
                <input type="hidden" id="projectId" name="projectId" style="width: 240px;"
                       value="${projectApproval.projectId}">
            </div>
            <div class="form_one">
                <label class="lable-style">项目级别:</label>
                <input id="projectLevel" name="projectLevel" type="text" class="easyui-textbox"
                       style="width: 240px;" data-options="readonly:true" value="${projectApproval.projectLevel}">
            </div>
            <div class="form_one">
                <label class="lable-style">监管级别:</label>
                <input id="supervisionLevel" name="supervisionLevel" type="text" class="easyui-textbox"
                       style="width: 240px;" data-options="readonly:true"
                       value="${projectApproval.supervisionLevel}">
            </div>
        </div>
        <div class="district-wrap" style="clear: both">
            <div class="form_one">
                <label class="lable-style">所属部门:</label>
                <input id="deptName" name="deptName" type="text" class="easyui-textbox" style="width: 240px;"
                       data-options="readonly:true" value=" ${projectApproval.deptName}">
            </div>
            <div class="form_one">
                <label class="lable-style">项目类别:</label>
                <input id="projectType" name="projectType" type="text" class="easyui-textbox" style="width: 240px;"
                       data-options="readonly:true" value="${projectApproval.projectType}">
            </div>
            <div class="form_one">
                <label class="lable-style">投资额度:</label>
                <input id="investQuota" name="investQuota" type="text" class="easyui-textbox"
                       style="width: 240px;" data-options="readonly:true" value="${projectApproval.investQuota}">
            </div>
        </div>
        <div class="district-wrap" style="clear: both">
            <div class="form_one">
                <label class="lable-style">可研批复日期:</label>
                <input id="feasibilityTime" name="feasibilityTime" class="easyui-textbox" style="width: 240px;"
                       data-options="readonly:true" value="${projectApproval.feasibilityTime}">
            </div>
            <div class="form_one">
                <label class="lable-style">涉及专业:</label>
                <input id="querySpecialtye" name="specialtyId" type="text" class="easyui-textbox"
                       style="width: 240px;" data-options="readonly:true" value="${SpecialtyList}">
                <input id="specialtyNames" name="specialtyNames" type="hidden">
            </div>
            <div class="form_one">
                <label class="lable-style">当前状态:</label>
                <input id="queryOperationState" name="operationStateId" type="text" class="easyui-textbox"
                       style="width: 240px;" data-options="readonly:true"
                       value="${projectApproval.operationStateId}">
            </div>
        </div>
        <div style="clear: both">
            <div class="form_two">
                <label class="lable-style">停止原因:</label>
                <input id="stoppageReasons" name="stoppageReasons" type="text" class="easyui-textbox"
                       data-options="multiline:true,readonly:true" style="height: 60px;width: 590px;"
                       value="${projectApproval.stoppageReasons}"/>
            </div>
        </div>
    </div>
</div>
<div class="information">
    <div class="information-title">
        <p>委托函信息</p>
        <a href="#"><img src="${ctx}/resources/themes/images/alias_03.png" width="18"></a>
    </div>
    <div class="cuttle">
        <div>
            <div class="form_one">
                <label class="lable-style">发函机构:</label>
                <input id="entrustUnit" name="entrustUnit" type="text" class="easyui-textbox" style="width: 240px;"
                       data-options="readonly:true" value="${projectApproval.entrustUnit}">
            </div>
            <div class="form_one">
                <label class="lable-style">发函日期:</label>
                <input id="entrustTime" name="entrustTime" class="easyui-textbox" style="width: 240px;"
                       data-options="readonly:true" value="${projectApproval.entrustUnit}">
            </div>
            <div class="form_one">
                <label class="lable-style">函文文号:</label>
                <input id="entrustFileCode" name="entrustFileCode" type="text" class="easyui-textbox"
                       style="width: 240px;" data-options="readonly:true"
                       value="${projectApproval.entrustFileCode}">
            </div>
        </div>
        <div class="district-wrap" style="clear: both">
            <label class="lable-accessory">函文文件:</label>
            <accessory:accessorySimple permission="" packageKey="project_entrust" uploadUserId="${loginUser.id}"
                                       packageInfos="${proAccessoryList}"
                                       accessoryType="txt,docx,doc,xls,xlsx,jpg,png"></accessory:accessorySimple>
        </div>
    </div>
</div>
<div class="information">
    <div class="information-title">
        <p>阶段信息</p>
        <a href="#"><img src="${ctx}/resources/themes/images/alias_03.png" width="18"></a>
    </div>
    <div class="cuttle" style="">
        <div id="ttF" class="easyui-tabs" style="width:1110px;height: 700px;">
            <div id="fsd" title="设计阶段" style="padding:10px;height: 95%;">
                <div class="easyui-layout" data-options="fit:true">
                    <form id="fireOne" method="POST">
                        <div style="width:1090px;">
                            <fieldset style="border: 1px solid #B5B5B5;">
                                <legend>是否需要政府审批</legend>
                                <div style="clear: both">
                                    <div class="form_one">
                                        <label class="lable-style">上报日期:</label>
                                        <input type="text" class="easyui-datebox" value="${fireDesign.reportTime}"
                                               name="reportTime" data-options="readonly:true" style="width: 200px;">
                                    </div>
                                    <div class="form_one">
                                        <label class="lable-style">审核机构:</label>
                                        <input type="text" class="easyui-textbox" name="auditOrg"
                                               data-options="readonly:true"
                                               value="${fireDesign.auditOrg}" style="width: 200px;">
                                    </div>
                                    <div class="form_one">
                                        <label class="lable-style">审核日期:</label>
                                        <input name="auditTime" type="text" data-options="readonly:true"
                                               value="${fireDesign.auditTime}" class="easyui-datebox"
                                               style="width: 200px;">
                                    </div>
                                </div>
                                <div style="clear: both">
                                    <div class="form_one">
                                        <label class="lable-style">是否有文号:</label>
                                        <label><input name="isAuditCode" type="radio" value="1" disabled="disabled"
                                                <c:if
                                                        test="${fireDesign.isAuditCode==null}"> checked="checked" </c:if>
                                                <c:if
                                                        test="${fireDesign.isAuditCode=='1'}"> checked="checked" </c:if> />是</label>
                                        <label><input name="isAuditCode" type="radio" value="0" disabled="disabled"
                                                <c:if
                                                        test="${fireDesign.isAuditCode=='0'}"> checked="checked" </c:if> />否</label>
                                    </div>
                                    <div class="form_one">
                                        <label class="lable-style">审核文号:</label>
                                        <input type="text" id="auditCode" name="auditCode"
                                               data-options="readonly:true"
                                               value="${fireDesign.auditCode}" class="easyui-textbox"
                                               style="width: 200px;">
                                    </div>
                                </div>
                                <div class="district-wrap" style="clear: both">
                                    <label class="lable-accessory">审核文件:</label>
                                    <accessory:accessorySimple permission="" packageKey="fireOne1"
                                                               uploadUserId="${loginUser.id}"
                                                               packageInfos="${fireAccessoryList}"
                                                               accessoryType="txt,docx,doc,xls,xlsx,jpg,png"></accessory:accessorySimple>
                                </div>
                                <div class="district-wrap" style="clear: both">
                                    <label class="lable-accessory">其它文件:</label>
                                    <accessory:accessorySimple permission="" packageKey="fireOne2"
                                                               uploadUserId="${loginUser.id}"
                                                               packageInfos="${fireAccessoryList}"
                                                               accessoryType="txt,docx,doc,xls,xlsx,jpg,png"></accessory:accessorySimple>
                                </div>
                                <div style="clear: both">
                                    <div class="form_one" style="width: 720px;height: 55px">
                                        <label class="lable-style">其他批复日期文号:</label>
                                        <input type="text" class="easyui-textbox" value="${fireDesign.oAuditCode}"
                                               name="oAuditCode" data-options="multiline:true,readonly:true"
                                               style="width: 590px;height: 50px"/>
                                    </div>
                                </div>
                            </fieldset>
                        </div>
                    </form>
                </div>
            </div>
            <div title="验收阶段"  <c:if test="${fireDesign==null}"> data-options="disabled:true" </c:if>
                 style="padding:10px;height: 95%;">
                <div class="easyui-layout" data-options="fit:true">
                    <form id="fireTwo" method="POST">
                        <div style="width:1090px;">
                            <fieldset style="border: 1px solid #B5B5B5;">
                                <legend>是否需要政府审批</legend>
                                <div style="clear: both">
                                    <div class="form_one">
                                        <label class="lable-style">验收申请日期:</label>
                                        <input type="text" class="easyui-datebox" data-options="readonly:true"
                                               value="${fireAcceptance.applyTime}" name="applyTime"
                                               style="width: 200px;">
                                    </div>
                                    <div class="form_one">
                                        <label class="lable-style">验收批复机构:</label>
                                        <input type="text" class="easyui-textbox" value="${fireAcceptance.acceptOrg}"
                                               data-options="readonly:true"
                                               name="acceptOrg" style="width: 200px;">
                                    </div>
                                    <div class="form_one">
                                        <label class="lable-style">批复日期:</label>
                                        <input name="acceptTime" type="text" data-options="readonly:true"
                                               value="${fireAcceptance.acceptTime}" class="easyui-datebox"
                                               style="width: 200px;">
                                    </div>
                                </div>
                                <div style="clear: both">
                                    <div class="form_one">
                                        <label class="lable-style">批复文号:</label>
                                        <input type="text" class="easyui-textbox" value="${fireAcceptance.acceptCode}"
                                               data-options="readonly:true"
                                               name="acceptCode" style="width: 200px;">
                                    </div>
                                </div>
                                <div class="district-wrap" style="clear: both">
                                    <label class="lable-accessory">批复文件:</label>
                                    <accessory:accessorySimple permission="" packageKey="fireTwo1"
                                                               uploadUserId="${loginUser.id}"
                                                               packageInfos="${fireAccessoryList}"
                                                               accessoryType="txt,docx,doc,xls,xlsx,jpg,png"></accessory:accessorySimple>
                                </div>
                                <div class="district-wrap" style="clear: both">
                                    <label class="lable-accessory">其它附件:</label>
                                    <accessory:accessorySimple permission="" packageKey="fireTwo2"
                                                               uploadUserId="${loginUser.id}"
                                                               packageInfos="${fireAccessoryList}"
                                                               accessoryType="txt,docx,doc,xls,xlsx,jpg,png"></accessory:accessorySimple>
                                </div>
                                <div style="clear: both">
                                    <div class="form_one" style="width: 720px;height: 55px">
                                        <label class="lable-style">其他批复日期文号:</label>
                                        <input type="text" class="easyui-textbox" value="${fireAcceptance.oAcceptCode}"
                                               name="oAcceptCode" data-options="multiline:true,readonly:true"
                                               style="width: 600px;height: 50px"/>
                                    </div>
                                </div>
                            </fieldset>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
</div>
</body>
</html>

